<template>
  <div id="app" data-server-rendered ='true'>
    <router-view />
  </div>
</template>

<script>

export default {
  name: 'App',
  watch: {
    $route(to,from){
      // window.pageYOffset = 0
      // document.body.scrollTop = 0
      // document.documentElement.scrollTop = 0
    }
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
<style lang="less">
@import './assets/css/globalvar.less';
@import './assets/css/globalmixins.less';
@import './assets/css/base.less';
@import './assets/css/cover.less';
// @import './assets/css/blackTheme.less';
</style>
